<?php /* Smarty version 2.6.18, created on 2010-10-26 16:03:30
         compiled from admin/news/news_list.tpl */ ?>
<div id="news_list_section" name="news_list_section">
All news: <br />
<table border="1" cellspacing="1px" cellpadding="10px "align="center" width="100%">
    <tr> 
        <th width="15%"> Time created </th>
        <th width="15%"> Last modified</th>
        <th width="40%"> Title </th>
        <th width="5%"> Hide  </th>
        <th width="5%"> Order </th>
        <th width="5%"> Publish </th>
        <th width="15%" colspan="3" align="center"> Action</th>
    </tr>
    <?php while ($this->_tpl_vars['news_list']->fetch()) { ?>
    <tr>
        <td align="center" width="15%"> <?php echo $this->_tpl_vars['news_list']->news_time; ?>
 </td>
        <td align="center" width="15%"> <?php echo $this->_tpl_vars['news_list']->news_modified; ?>
 </td>
        <td width="40%"> <?php echo $this->_tpl_vars['news_list']->news_title; ?>
 </td>
        <td align="center" width="5%"> <?php echo $this->_tpl_vars['news_list']->news_hide; ?>
 </td>
        <td align="center" width="5%"> <?php echo $this->_tpl_vars['news_list']->news_order; ?>
</td>
        <td align="center" width="5%"> <?php echo $this->_tpl_vars['news_list']->news_homepage; ?>
</td>
        <td align="center" width="5%"> <a href="javascript:editNews(<?php echo $this->_tpl_vars['news_list']->news_id; ?>
,'<?php echo $this->_tpl_vars['news_list']->news_title; ?>
')" title="Edit" class="link_edit" /></td>
        <td align="center" width="5%"> <a href="javascript:deleteNews(<?php echo $this->_tpl_vars['news_list']->news_id; ?>
,'<?php echo $this->_tpl_vars['news_list']->news_title; ?>
')" title="Delete" class="link_delete" /></td>
        <?php if ($this->_tpl_vars['news_list']->news_homepage): ?>
            <td align="center" width="5%"> <a href="javascript:toggleNewsPublish(<?php echo $this->_tpl_vars['news_list']->news_id; ?>
,<?php echo $this->_tpl_vars['news_list']->news_homepage; ?>
)" title="Unpublish this news from homepage" class="link_unpublish" /></td>
        <?php else: ?>
            <td align="center" width="5%"> <a href="javascript:toggleNewsPublish(<?php echo $this->_tpl_vars['news_list']->news_id; ?>
,<?php echo $this->_tpl_vars['news_list']->news_homepage; ?>
)" title="Publish this new to homepage" class="link_publish" /></td>
        <?php endif; ?>    
    </tr>
    <?php } ?>
</table>
</div>